<template>
  <div>
    <div>this is login</div>
    <div>
      <el-button type="primary" @click="handleChange()">去搜索页</el-button>
    </div>
  </div>
</template>
<script setup>
import { useRouter } from "vue-router";
const router = useRouter();

const handleChange = () => {
  router.push("/search");
};
</script>
<style>
</style>